package com.zhihao.infrastructure.dao;

import com.zhihao.infrastructure.dao.po.RaffleActivitySku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Jackson
 * @description 商品sku dao
 * @create 2024-03-16 11:04
 */
@Mapper
public interface IRaffleActivitySkuDao {

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);

    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    @Deprecated
    void addActivitySkuStock(Long sku);

    List<Long> querySkuList();

}
